#include <custom.h>
List of all members.
Public Member Functions |
| | float3 (float initX=0.0f, float initY=0.0f, float initZ=0.0f) |
| | ~float3 () |
| | Constructor/Deconstructor.
|
| float3 | operator+ (float3 rhs) |
| float3 | operator- (float3 rhs) |
| float3 | operator* (float rhs) |
| float3 | operator* (float3 rhs) |
| float3 | operator/ (float rhs) |
| float3 | operator/ (float3 rhs) |
| void | operator= (float3 rhs) |
| bool | operator== (float3 rhs) |
| bool | operator!= (float3 rhs) |
| | Operators.
|
| float | Length () |
| | Gets the length.
|
| void | Normal (float3 *point1, float3 *point2, float3 *point3) |
| | Sets the normalized triangle normal of the given points.
|
| void | Normalize () |
| | Normalizes the value.
|
| void | Set (float length, float rotationX, float rotationZ) |
| | Sets length of vector, and rotation based on the x axis (Pitch) [270.0f..90.0f] and z axis (Yaw) [0.0f..360.0f].
|
| void | Set (float rotationX, float rotationZ) |
| | Sets rotation based on the x axis (Pitch) [270.0f..90.0f] and z axis (Yaw) [0.0f..360.0f], with original length.
|
| void | Set (float length) |
| | Sets length of vector, with original rotation.
|
Public Attributes |
| float | x |
| float | y |
| float | z |
Constructor & Destructor Documentation
| float3::float3 |
( |
float |
initX = 0.0f, |
|
|
float |
initY = 0.0f, |
|
|
float |
initZ = 0.0f |
|
) |
| |
Constructor/Deconstructor.
Member Function Documentation
Sets the normalized triangle normal of the given points.
| bool float3::operator!= |
( |
float3 |
rhs | ) |
|
| float3 float3::operator* |
( |
float |
rhs | ) |
|
| float3 float3::operator/ |
( |
float |
rhs | ) |
|
| void float3::operator= |
( |
float3 |
rhs | ) |
|
| bool float3::operator== |
( |
float3 |
rhs | ) |
|
| void float3::Set |
( |
float |
length, |
|
|
float |
rotationX, |
|
|
float |
rotationZ |
|
) |
| |
Sets length of vector, and rotation based on the x axis (Pitch) [270.0f..90.0f] and z axis (Yaw) [0.0f..360.0f].
Sets rotation based on the x axis (Pitch) [270.0f..90.0f] and z axis (Yaw) [0.0f..360.0f], with original length.
Sets length of vector, with original rotation.
Member Data Documentation
The documentation for this class was generated from the following file: